package com.cinc.mdm.modules.material.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cinc.mdm.modules.material.entity.MdmMaterialFactoryDetail;
import com.cinc.mdm.modules.material.mapper.MdmMaterialFactoryDetailMapper;
import com.cinc.mdm.modules.material.service.IMdmMaterialFactoryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 工厂视图
 * @Author: jeecg-boot
 * @Date:   2021-10-13
 * @Version: V1.0
 */
@Service
public class MdmMaterialFactoryDetailServiceImpl extends ServiceImpl<MdmMaterialFactoryDetailMapper, MdmMaterialFactoryDetail> implements IMdmMaterialFactoryDetailService {
	
	@Autowired
	private MdmMaterialFactoryDetailMapper mdmMaterialFactoryDetailMapper;
	
	@Override
	public List<MdmMaterialFactoryDetail> selectByMainId(String mainId) {
		return mdmMaterialFactoryDetailMapper.selectByMainId(mainId);
	}
}
